<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8" isELIgnored="false"%>
<%@ include file="/views/common/resources.jsp"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib uri="/auth-tags" prefix="auth" %>

<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html>
<html style="height: 100%;">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>区域查岗</title>
<link href="<%=basePath%>resources/js/common/plugin/easyui/themes/default/easyui.css" rel="stylesheet" />
<link href="<%=basePath%>resources/js/common/plugin/select2/css/select2.min.css" rel="stylesheet" />
<script src="<%=basePath%>resources/js/common/plugin/select2/js/select2.min.js"></script>
<script src="<%=basePath%>resources/js/common/plugin/easyui/jquery.easyui.min.js"></script>
<script src="<%=basePath%>resources/js/common/plugin/My97DatePicker/WdatePicker.js"></script>
<script src="<%=basePath%>resources/js/common/main/global.js"></script>
<script src="<%=basePath%>resources/js/common/main/nav.js"></script>
<script src="<%=basePath %>resources/js/common/util/common.js"></script>
<script src="<%=basePath%>resources/js/system/check/areaCheck.js"></script>
<style>
#inputStartDate, #inputEndDate {
	width: 150px;
}

#queryBtn {
	margin-left: 80px;
}
</style>
</head>
<body onkeydown="if(event.keyCode=='13'){toSearch();}"
	class="conditionSetting" style="height: 100%;">
	<div class="page">
		<div class="main clearfix">
			<div class="querys " id="tdiv">
				<div class="userQuery mt20 clearfix pr">
					<ul class="clearfix fl">
						<li class="fl clearfix"
							style='margin-left: 1px; margin-right: 15px'><input
							class="userInput fl" type="text" id="check_area_id"></li>
						<li class="fl clearfix"><input type="text"
							id="inputStartDate" class="query-input fl Wdate Time_input"
							onclick="WdatePicker({dateFmt:'yyyy-MM-dd',maxDate:'%y-%M-%d'})" />
						</li>
						<li class="fl clearfix"><span class="fl query-text">至</span>
							<input type="text" id="inputEndDate"
							class="query-input fl Wdate Time_input"
							onclick="WdatePicker({dateFmt:'yyyy-MM-dd',maxDate:'%y-%M-%d'})" />
						</li>

					</ul>
					<auth:authorize operation="reportCenter,checkManager,areaCheck,query">
						<a class="fl userBtn" href="javascript:;" id="queryBtn"
							>查询</a> 
					</auth:authorize>	
					
					<auth:authorize operation="reportCenter,checkManager,areaCheck,export">
						<a class="fl userBtn" href="javascript:void(0);" id="exportSimCard" 
							style='margin-left: 15px'>导出</a>	
					</auth:authorize>
					
					<auth:authorize operation="reportCenter,checkManager,areaCheck,add">	
						<a class="fl userBtn" href="javascript:;" id="addAreaStrategyButton"
							 style='margin-left: 15px'>查岗策略</a>
					</auth:authorize>
				</div>

				<div class="queryTable" style="height: 30%; margin-top: 10px">
					<div id="tbAreaChecks"></div>
				</div>

			</div>

			<%--导出数据弹窗--%>
			<div id="exportModal" class="modal hide fade" data-backdrop="static" style="left: 51%; width:600px;top: 52%;  margin-top: -89.5px;" aria-hidden="false" tabindex="-1" data-backdrop="static">
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
					<h4 id="exportTitle">导出区域查岗信息</h4>
				</div>
				<div class="modal-body" style="font-size: 13px;vertical-align: middle; text-align: center;">
					<span>页数:</span>
					<input class="input-medium" id="StartPageIndex" type="number" value="1"><span>&nbsp;到&nbsp;</span>
					<input class="input-medium" id="EndPageIndex" type="number">
				</div>
				<div class="modal-footer">
					<button class="btn " data-dismiss="modal" aria-hidden="true">关闭</button>
					<button class="btn btn-ecColor"  id="exportComfirm"  >导出</button>
				</div>
			</div>
			
		</div>
	</div>
</body>
</html>
